package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工信息对象 worker
 * 
 * @author ruoyi
 * @date 2021-05-04
 */
public class Worker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long workerId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String workerName;

    /** 员工年龄 */
    @Excel(name = "员工年龄")
    private Long workerAge;

    /** 工作组 */
    @Excel(name = "工作组")
    private String projectGroup;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 总积分 */
    @Excel(name = "总积分")
    private Long totalPoint;

    /** 工资等级 */
    private Long salaryGrade;

    public void setWorkerId(Long workerId) 
    {
        this.workerId = workerId;
    }

    public Long getWorkerId() 
    {
        return workerId;
    }
    public void setWorkerName(String workerName) 
    {
        this.workerName = workerName;
    }

    public String getWorkerName() 
    {
        return workerName;
    }
    public void setWorkerAge(Long workerAge) 
    {
        this.workerAge = workerAge;
    }

    public Long getWorkerAge() 
    {
        return workerAge;
    }
    public void setProjectGroup(String projectGroup) 
    {
        this.projectGroup = projectGroup;
    }

    public String getProjectGroup() 
    {
        return projectGroup;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTotalPoint(Long totalPoint) 
    {
        this.totalPoint = totalPoint;
    }

    public Long getTotalPoint() 
    {
        return totalPoint;
    }
    public void setSalaryGrade(Long salaryGrade) 
    {
        this.salaryGrade = salaryGrade;
    }

    public Long getSalaryGrade() 
    {
        return salaryGrade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workerId", getWorkerId())
            .append("workerName", getWorkerName())
            .append("workerAge", getWorkerAge())
            .append("projectGroup", getProjectGroup())
            .append("phoneNumber", getPhoneNumber())
            .append("address", getAddress())
            .append("totalPoint", getTotalPoint())
            .append("salaryGrade", getSalaryGrade())
            .toString();
    }
}
